package com.demo.dao;

import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.demo.model.PaymentType;
@Transactional(propagation=Propagation.REQUIRES_NEW,readOnly=false,isolation=Isolation.DEFAULT)
public interface PaymentTypeDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(PaymentType record);

    int insertSelective(PaymentType record);

    PaymentType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PaymentType record);

    int updateByPrimaryKeyWithBLOBs(PaymentType record);

    int updateByPrimaryKey(PaymentType record);
}